package com.inheritance.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.inheritance.entity.Notice;

import java.util.List;

public interface NoticeService extends IService<Notice> {

    // 新增公告
    int upload(Notice notice);

    // 获取公告列表
    List<Notice> list();

    // 删除公告
    Boolean delete(String id);
}
